package com.example.product.impl;

import com.example.api.entity.SysPermission;
import com.example.product.dao.SysPermissionMapper;
import com.example.product.service.SysPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Title: 
 * @Description 权限实现类
 * @param 
 * @author zhangning
 * @Date 2019/9/3 16:16
 */
@Service
public class SysPermissionServiceImpl implements SysPermissionService {

    @Autowired
    private SysPermissionMapper sysPermissionMapper;

    @Override
    public List<SysPermission> getUserPermission(String userId, String systemId) {
        return sysPermissionMapper.getUserPermission(userId,systemId);
    }
}
